package it.canraid.shapefile;

public class EShapeFile {
	public static final char FILE_CODE_BO='B';
	public static final int FILE_CODE_BS=0;
	public static final int FILE_CODE_NoB=4; 
	//
	public static final char FILE_LENGTH_BO='B';
	public static final int FILE_LENGTH_BS=24;
	public static final int FILE_LENGHT_NoB=4;
	//
	public static final char VERSION_BO='L';
	public static final int VERSION_BS=28;
	public static final int VERSION_NoB=4;
	//
	public static final char SHAPE_TYPE_BO='L';
	public static final int SHAPE_TYPE_BS=32;
	public static final int SHAPE_TYPE_NoB=4;
	//
	public static final char X_MIN_BO='L';
	public static final int X_MIN_BS=36;
	public static final int X_MIN_NoB=8;
	//
	public static final char Y_MIN_BO='L';
	public static final int Y_MIN_BS=44;
	public static final int Y_MIN_NoB=8;
	//
	public static final char X_MAX_BO='L';
	public static final int X_MAX_BS=52;
	public static final int X_MAX_NoB=8;
	//
	public static final char Y_MAX_BO='L';
	public static final int Y_MAX_BS=60;
	public static final int Y_MAX_NoB=8;
	//
	public static final char Z_MIN_BO='L';
	public static final int Z_MIN_BS=68;
	public static final int Z_MIN_NoB=8;
	//
	public static final char Z_MAX_BO='L';
	public static final int Z_MAX_BS=76;
	public static final int Z_MAX_NoB=8;
	//
	public static final char M_MIN_BO='L';
	public static final int M_MIN_BS=84;
	public static final int M_MIN_NoB=8;
	//
	public static final char M_MAX_BO='L';
	public static final int M_MAX_BS=92;
	public static final int M_MAX_NoB=8;
	//
	public int fileCode=-1;	//check=9994
	public int fileLenght=-1;	// 2-byte Unit (word), (4w + contentLength[row]) * n_row
	public int version=-1; //check=1000
	public int shapeType=-1;
	public double Xmin=0;
	public double Ymin=0;
	public double Xmax=0;
	public double Ymax=0;
	public double Zmin=0;
	public double Zmax=0;
	public double Mmin=0;
	public double Mmax=0;
	
	// 0=null
	// 1=point
	// 3=Polyline
	// 5=Polygon
	// 8=Miltipoint
	// 11=PointZ
	// 13 polyLineZ
	// 15 polygonz
	// 18 multipointZ
	// 21 PointM
	// 23 PolylineM
	// 25 PolygonM
	// 28 MultiPointM
	// 31 MultiPatch
}
